using ELF;
using ELF.Shared.Modules;

var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
await builder.AddModulesAsync<IdentityApiModule>();
builder.Services.AddControllers();
var app = builder.Build();
app.MapDefaultEndpoints();
await app.InitializeModulesAsync();
app.MapControllers();
await app.RunAsync();
